package com.yupi.springbootinit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.model.entity.Chapter;
import com.yupi.springbootinit.model.vo.ChapterVO;
import com.yupi.springbootinit.model.entity.User;

public interface ChapterService extends IService<Chapter> {
    /**
     * 获取章节详情
     * @param courseId 课程ID
     * @param chapterId 章节ID
     * @param loginUser 当前登录用户
     * @return 章节详情
     */
    ChapterVO getChapterDetail(long courseId, long chapterId, User loginUser);
} 